package csu.web.credit_bank.service;

import csu.web.credit_bank.pojo.PostComments;
import com.baomidou.mybatisplus.extension.service.IService;
import csu.web.credit_bank.pojo.dto.CommentCreateDto;

import java.util.List;

/**
* @author 于欣淇
* @description 针对表【post_comments(论坛评论内容表)】的数据库操作Service
* @createDate 2025-06-29 21:14:52
*/
public interface PostCommentsService extends IService<PostComments> {
    List<PostComments> getCommentsByPostId(String postId);
    PostComments createComment(CommentCreateDto commentDto);
    List<PostComments> getCommentsByArticleId(String articleId);
}
